<?php
namespace app\common\controller;
use think\Controller;
class Base extends Controller{
	protected $url_path = "";     //当前完全访问路径
	public function _initialize(){
		$this->url = strtolower($this->request->module() . '/' . $this->request->controller() . '/' . $this->request->action());
		$this->model = strtolower($this->request->module() . '/' . $this->request->controller());		
		$this->assign(config());
	}
	
}
?>